package com.os.meituan.model.vomodel.User;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel("VO-OA-User-用户完整信息")
@Data
public class VO_SEC_User_Ex {

    private String id;

    private String loginId;

    private String name;

    private String type;

    private String im;

    @ApiModelProperty(value = "性别", allowableValues = "M-男,F-女,U-不明")
    private String sex;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private String birthday;
    private String orgId;

    @ApiModelProperty(value = "职级")
    private String rank;

    @ApiModelProperty(value = "职务")
    private String job;

    @ApiModelProperty(value = "显示顺序号", example = "1")
    private Integer order;

    @ApiModelProperty("手机号码")
    private String mobilePhone;

    @ApiModelProperty(value = "身份证")
    private String identityNo;

    @ApiModelProperty(value = "是否已删除", example = "1") // 0:未删除 1:已删除
    private Integer isDelete;

    @ApiModelProperty(value = "状态 enabled-启用 disabled-禁用")
    private String status;

    private String token;

    @ApiModelProperty(value = "招聘部门，管理部门，源部门")
    private String sourceOrgId;
    private String sourceOrgName;

    private int age;
    private String roleIds;
    @JsonIgnore
    private String powerIds; // 这个字段太大，没必要序列化给前端
    private String orgName;

    @ApiModelProperty(value = "性别中文")
    private String sexText;

    @ApiModelProperty(value = "状态中文")
    private String statusText;

    @ApiModelProperty(value = "删除状态中文")
    private String isDeleteText;
}
